import { useNavigate } from 'react-router-dom'
import './index.scss'

const StartPage = () => {
  const history = useNavigate() // 引入路由跳转方法
  return (
    <div className="startContent" onClick={() => history('/main')}>
      Start App
    </div>
  )
}
export default StartPage
